<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--  <div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('所属分类')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
         
    <!--            </div>-->
    
    <!--    </div>-->
        
        
    <!--</div>-->
    
    
 
        
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属主分类')}:</label>
        <div class="col-xs-12 col-sm-8">
          
          
             <div class="form-inline" data-toggle="cxselect" data-selects="first,second">
                 
                   <select  class="first form-control " name="row[ppid]" data-url="showcasedeatype/class_showcase?type=0"
                         {foreach name="isLanList" item="vo"}
                            <option value="{$key}" >{$vo}</option>
                        {/foreach}
                    </select>
                              
                              
                     <select class="second form-control" name="row[pid]" data-url="showcasedeatype/class_showcase?type=1" data-query-name="pid">
                             {foreach name="isLanLists" item="vo"}
                                   <option value="{$key}" >{$vo}</option>
                                {/foreach}
                    </select>
                    
             

                
                      <!--<select class="second form-control" name="second" data-url="showcasedeatype/class_showcase?type=1" data-query-name="pid"></select>-->
                </div>

        </div>
    </div>
    
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('标签名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!--<input id="c-name" class="form-control" name="row[names]" type="text">-->
            <input type="text" name="row[names]"  data-multiple="true" class="form-control selectpage" data-source="lable/selectpages"  data-field="title" value="<%=row.id%>" placeholder="请输入标签"/>
        </div>
    </div>
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Ppid')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-ppid" class="form-control" name="row[ppid]" type="number">-->
    <!--    </div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
